<<<<<<< HEAD
﻿
<!DOCTYPE html>
=======
﻿<!DOCTYPE html>
>>>>>>> 64f8517eefacff6cdfd07a3663385181cccd57cb
<html lang="zh-cn">
<head>
    <title></title>
    ﻿<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="format-detection" content="telephone=no">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="alternate icon" type="image/png" href="images/favicon.png">
<link rel='icon' href='favicon.ico' type='image/x-ico' />
<meta name="description" content="" />
<meta name="keywords" content="" />
<link rel="stylesheet" href="css/default.min.css?t=227" />
<!--[if (gte IE 9)|!(IE)]><!-->
<script type="text/javascript" src="lib/jquery/jquery.min.js"></script>
<!--<![endif]-->
<!--[if lte IE 8 ]>
<script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="lib/amazeui/amazeui.ie8polyfill.min.js"></script>
<![endif]-->
<script type="text/javascript" src="lib/handlebars/handlebars.min.js"></script>
<script type="text/javascript" src="lib/iscroll/iscroll-probe.js"></script>
<script type="text/javascript" src="lib/amazeui/amazeui.min.js"></script>
<script type="text/javascript" src="lib/raty/jquery.raty.js"></script>
<script type="text/javascript" src="js/main.min.js?t=1"></script>
</head>
<body>
<header>
    <div class="header-top">
        <div class="width-center">
            <div class="header-logo "><img src="images/93802ed009ab6fa0.png" alt=""></div>
            <div class="header-title div-inline">
            </div>

            <div class="search-box div-inline">
                <div class="input-box"><input type="text" name="" placeholder="             请输入关键字"></div>
                <div class="search-botton"></div>
            </div>
        </div>
    </div>
    <div class="header-nav">
        <button class="am-show-sm-only am-collapsed font f-btn" data-am-collapse="{target: '.header-nav'}">Menu <i
                class="am-icon-bars"></i></button>
        <nav>
        <ul class="header-nav-ul am-collapse am-in">
            <li class="on"><a href="shouye.html" name="index">首页</a></li>
            <li><a href="chanpinfenlei.html" name="show">产品分类</a></li>
            <li><a href="xw1.html" name="new">新闻资讯</a></li>
			 <li><a href="2.html" name="about">关于亚细亚</a></li>
            <li><a href="lxwm.html" name="message">联系我们</a>
                <div class="secondary-menu">

                    <ul><li><a href="liuyan.html" class="message"></a></li></ul>
                </div>
            </li>
        </ul>
        </nav>
    </div>

</header>
<div class="am-slider am-slider-default" data-am-flexslider="{playAfterPaused: 8000}">
    <ul class="am-slides">
        <li><img src="images/18.png" alt="" ></li>
        <li><img src="images/18.png" alt="" ></li>
        <li><img src="images/18.png" alt="" ></li>
        <li><img src="images/18.png" alt="" ></li>
    </ul>
</div>
<section class="pro-list">
    <aside class="pro-leftsidebar">
        <ul>
            <li>
                <a>产品分类</a>
                <ul id="pro-category">
                   
                </ul>
            </li>
        </ul>
    </aside>

    <aside class="pro-rightsidebar">
        <header>
            <p></p>
            <div class="product-nav"><a href="shouye.html">首页 </a>&#62;<a href="#">产品展示</a>&#62;<a>XX椅子</a></div>
        </header>
        <main>
            <div class="pro-right-left">
                <div class="pro-details-img"><img src=""id="tupian"></div>
				
                <div class="pro-detalis-carousel">
                    <div class="am-slider am-slider-default am-slider-carousel" data-am-flexslider="{itemWidth: 112, itemMargin: 4,move:5,  controlNav: false ,  slideshow: true}">
                        <ul class="am-slides pro-details">
                            <li><img src="images/18.jpg" /></li>
                            <li><img src="images/6.jpg" /></li>
                            <li><img src="images/7.jpg" /></li>
                            <li><img src="images/8.jpg" /></li>
                            <li><img src="images/9.jpg" /></li>
                        </ul>
                    </div>
                </div>
				
            </div>
            <div class="pro-right-right">
                <ul class="pro-right-info-constant">
                    <li>产品名称:</li>
                    <li></li>
                    <li>产品介绍:</li>
                    <li></li>
                </ul>
                <ul class="pro-right-info-variable">
                    <li id = "name" style="padding-top:70px"></li>
                    <li></li>
                    <li id = "jieshao" ></li>
                    <li></li>
                </ul>
            </div>   
        </main>
    </aside>


</section>
<footer>
    <div>
        <div class="footer-info">
            <div class="footer-content">
                <p>官方旗舰店</p>
                <img src="images/jd.png" alt="">
                <img src="images/tm.png" alt="">
               <div>
                <div class="footer-box">
                    <i class="icon-tel"></i>
                    <span>亚细亚服务热线</span>
                    <span>4000-113-558</span>
                </div>
                <div class="footer-box">
                    <i class="icon-email"></i>
                    <span>公司邮箱:</span>
                    <span>123@dayeyunalading.com</span>
                </div>
                <div class="footer-box">
                    <i class="icon-address"></i>
                    <span>公司地址:</span>
                    <span>上海市普陀区潮州路599号</span>
                </div>
               </div>
            </div>
        </div>
        <style>
        .footer-bottom a{color:#F1404B}
        </style>
</footer>
<script>
$.ajax({
	url : "/wzyaxiya/fenleichaxunServlet",//地址
	type : "get",//请求方式
	//data : ,
	success : function(res) {//成功以后的回调函数
		var list = res.data;
	
		for (var i=0;i<list.length;i++){
			
			$("#pro-category").append(" <li ><a href='/wzyaxiya/xiangmu/chanpinfenlei.html?fenlei="+list[i].id+"'>"+ list[i].name +"</a></li>")
			
		}
	}

});
//key(需要检错的键） url（传入的需要分割的url地址）
function getSearchString(key) {
	 
	//分割url提取参数
	var url = window.location.search.substring(1);
	//alert(url);
// 获取URL中?之后的字符
var str = url;
// 以&分隔字符串，获得类似name=xiaoli这样的元素数组
var arr = str.split("&");
var obj = new Object();

// 将每一个数组元素以=分隔并赋给obj对象
for(var i = 0; i < arr.length; i++) {
var tmp_arr = arr[i].split("=");
obj[decodeURIComponent(tmp_arr[0])] = decodeURIComponent(tmp_arr[1]);
}
//alert(obj[key]);
return obj[key];
}

$.ajax({
	url : "/wzyaxiya/chaxun?id="+getSearchString("id"),//地址
	type : "get",//请求方式
	//data : ,
	success : function(res) {//成功以后的回调函数
		var p = res.data[0];
	
		$("#tupian").attr("src",p.tupian);
		$("#name").html(p.title);
		$("#jieshao").html(p.jieshao);
	}

});
</script>
</body>
</html>